<template>
    <view class="page">
        <up-navbar :placeholder="true" title="登录" bgColor="transparent" autoBack>
            <template #left>
                <!--  页面栈为1时不显示返回按钮 -->
                <up-icon name="arrow-left" size="19"></up-icon>
            </template>
        </up-navbar>
        <up-button @click="toAiPages">前往ai对话页面</up-button>
    </view>
</template>

<script setup>
import { ref, onMounted } from 'vue';

onMounted(() => {});

const toAiPages = () => {
    uni.navigateTo({
        url: '/uni_modules/byt-ai-agent-uni/pages/listHome'
    });
};
</script>

<style lang="scss" scoped></style>
